﻿<%@ Page Title="" Language="C#" MasterPageFile="~/mypage/MypageMasterPage.master" AutoEventWireup="true" CodeBehind="myevent.aspx.cs" Inherits="Com.Web.coffinegurunaru.mypage.myevent" %>
<%@ Import Namespace="Com.Library.DB.Event" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Content" runat="server">

		  <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td height="33">&nbsp;</td>
          </tr>
          <tr>
            <td><img src="/images/mypage/tit_03.gif" width="392" height="47"></td>
          </tr>
          <tr>
            <td height="30">&nbsp;</td>
          </tr>
          <tr>
            <td align="center"><!--참여한 이벤트 -->
              <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td>&nbsp;</td>
              </tr>
              <tr>
                <td><img src="/images/mypage/txt14.gif" width="94" height="21"></td>
              </tr>
              <tr>
                <td>&nbsp;</td>
              </tr>
              <tr>
                <td><table width="98%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td height="28" background="/images/mypage/event_bg.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td width="80" align="center"><img src="/images/mypage/event_tit01.gif" width="25" height="14"></td>
                        <td width="3"><img src="/images/mypage/event_line.gif" width="3" height="27"></td>
                        <td align="center"><img src="/images/mypage/event_tit02.gif" width="39" height="14"></td>
                        <td width="3"><img src="/images/mypage/event_line.gif" width="3" height="27"></td>
                        <td width="120" align="center"><img src="/images/mypage/event_tit03.gif" width="30" height="14"></td>
                        <td width="3"><img src="/images/mypage/event_line.gif" width="3" height="27"></td>
                        <td width="120" align="center"><img src="/images/mypage/event_tit04.gif" width="49" height="14"></td>
                        </tr>
                      </table></td>
                    </tr>
                  </table>
                  <table border='1' cellpadding='0' cellspacing='0' width='98%' style='border-collapse:collapse' bordercolor='#f5f5f5' frame='void'>
<% if ( this.MyEventList.Count == 0 ) { %>
					 <tr>
                      <td height="32">&nbsp;</td>
                      </tr>
                    <tr>
                      <td height="32" align="center"><img src="/images/mypage/event_tit05.gif" width="171" height="20"></td>
                      </tr>
                    <tr>
                      <td height="32">&nbsp;</td>
                      </tr>
<% } else { %>
<%		foreach( var item in MyEventList ) { %>
                    <tr>
                      <td height="32"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                          <td width="80" align="center" class="gray_sbold"><%=item.EventSN %></td>
                          <td width="3"><img src="/images/common/clear.gif" width="1" height="1"></td>
                          <td><%=item.Title %></td>
                          <td width="3"><img src="/images/common/clear.gif" width="1" height="1"></td>
                          <td width="120" align="center" class="small_gray"><%=item.ModifyDate.ToString("yyyy-MM-dd") %></td>
                          <td width="3"><img src="/images/common/clear.gif" width="1" height="1"></td>
                          <td width="120" align="center"><p class="small_gray"><%=item.PublicationDate.ToString("yyyy-MM-dd") %></p></td>
                          </tr>
                        </table></td>
                      </tr>
<%		} %>
<% } %>
                    <tr>
                      <td height='2' bgcolor='#f5f5f5'></td>
                      </tr>
                    </table></td>
              </tr>
              </table>
              </td>
              </tr>
            </table>


</asp:Content>
